<!-- 主页面 -->
<script setup>
import HomeLeft from './components/left/HomeLeft.vue';
import HomeMain from './components/main/HomeMain.vue';
import HomeRight from './components/right/HomeRight.vue';
import LayoutFooter from '@/components/LayoutFooter.vue';
</script>

<template>
    <div class="common-layout">

        <el-container>
            <el-main class="borderMain">
                <HomeMain />
                <LayoutFooter/>
            </el-main>

            <el-aside class="borderRight">
                <HomeRight />
            </el-aside>
        </el-container>
    </div>
</template>
<style scoped>
/* .borderLeft {
    width: 350px;
    background-color: rgb(255, 255, 255);
    border-right: 1px solid;
    border-color: rgb(218, 218, 218);
    height: 100vh;
    left: 0;
    position: absolute;
    display: block;
} */

.common-layout{
    background-color: rgb(255, 255, 255);
}

.borderMain {
    border-color: rgb(218, 218, 218);
    display: flex;
    flex-direction: column;
    margin-left: 4%;
    width: 70%;
}

.borderRight {
    border-color: rgb(218, 218, 218);
    display: flex;
    flex-direction: column;
    width:30%;
}

</style>